* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.ant-tooltip .ant-tooltip-inner,
.ant-tooltip-arrow::before {
  background-color: #ffffff !important;
  color: #565966;
  font-size: 12px;
}

.ant-modal-body {
  overflow: hidden;
}

.markdown-content {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
  img {
    max-width: 100%;
  }
  pre {
    overflow-x: auto;
    white-space: pre;
    word-wrap: normal;
  }

  /* 针对行内代码 */
  code {
    white-space: pre-wrap;
    word-break: break-all;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
  }

  th,
  td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
  }

  th {
    background-color: #f2f2f2;
  }

  tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  ul,
  ol {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
  }
  li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
  }
  h2 {
    font-size: 24px;
    line-height: 32px;
    margin-top: 0;
  }
  p {
    width: 100%;
    // white-space: normal;
    word-wrap: break-word;
    word-break: normal;
    margin-top: 0;
    white-space: pre-wrap;
  }
}
